<?php
<object class="Edit_contact2" name="Edit_contact2" baseclass="page">
  <property name="Background"></property>
  <property name="Caption">Edit Contact Person</property>
  <property name="Color">#000000</property>
  <property name="DocType">dtNone</property>
  <property name="Font">
    <property name="Size"></property>
  </property>
  <property name="Height">400</property>
  <property name="IsMaster">0</property>
  <property name="Name">Edit_contact2</property>
  <property name="UseAjax">1</property>
  <property name="Width">744</property>
  <property name="OnCreate">Edit_contact2Create</property>
  <object class="JTDivWindow" name="JTDivJob" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">Job Title</property>
    <property name="Height">251</property>
    <property name="Left">382</property>
    <property name="Name">JTDivJob</property>
    <property name="Position">poParentCenter</property>
    <property name="SiteTheme"></property>
    <property name="Top">20</property>
    <property name="Width">320</property>
    <object class="JTGroupBox" name="JTGroupBox3" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">202</property>
      <property name="Left">17</property>
      <property name="Name">JTGroupBox3</property>
      <property name="SiteTheme"></property>
      <property name="Top">34</property>
      <property name="Width">286</property>
      <object class="ListBox" name="listJob" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">153</property>
        <property name="Items">a:0:{}</property>
        <property name="Left">12</property>
        <property name="Name">listJob</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">41</property>
        <property name="Width">201</property>
      </object>
      <object class="Edit" name="edJob" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">12</property>
        <property name="Name">edJob</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">201</property>
      </object>
      <object class="Button" name="btnDelDept" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Delete</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnDelDept</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">169</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnDelDeptJSClick</property>
      </object>
      <object class="Button" name="btnAddJob" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Add</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnAddJob</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnAddJobJSClick</property>
      </object>
    </object>
  </object>
  <object class="Label" name="Label8" >
    <property name="Caption">Edit Contact Person</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
        <property name="Size">15</property>
        <property name="Weight">bold</property>
    </property>
    <property name="Height">21</property>
    <property name="Name">Label8</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Width">167</property>
  </object>
  <object class="HiddenField" name="hiddenContact" >
    <property name="Height">18</property>
    <property name="Left">230</property>
    <property name="Name">hiddenContact</property>
    <property name="Top">5</property>
    <property name="Width">200</property>
  </object>
  <object class="Button" name="btnSubmit" >
    <property name="Caption">Update</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">24</property>
    <property name="Name">btnSubmit</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">16</property>
    <property name="Top">352</property>
    <property name="Width">75</property>
    <property name="OnClick">btnSubmitClick</property>
  </object>
  <object class="Button" name="btnContactCancel" >
    <property name="Caption">Cancel</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">109</property>
    <property name="Name">btnContactCancel</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">17</property>
    <property name="Top">352</property>
    <property name="Width">75</property>
    <property name="OnClick">btnContactCancelClick</property>
  </object>
  <object class="JTJavaScript" name="JSValidate" >
    <property name="Code"><![CDATA[function validateRequire(editBox, lblError)
{
 editValue = document.getElementById(editBox).value;
 //error = Number(document.getElementById('hfValidateError').value);
 if(editValue.length==0)
 {
  //alert('error');
  lblValue = document.getElementById(lblError).innerHTML = '&amp;darr; This field is required &amp;darr;';
  //alert(document.getElementById('hfValidateError').value); 
  //document.getElementById('hfValidateError').value = error + Number('1');
  //alert(document.getElementById('hfValidateError').value);
  //alert('error end');
 }
 else
 {
  lblValue = document.getElementById(lblError).innerHTML = '';
 }
}]]></property>
    <property name="Height">20</property>
    <property name="Left">558</property>
    <property name="Name">JSValidate</property>
    <property name="Top">1</property>
    <property name="Width">180</property>
  </object>
  <object class="HiddenField" name="hfError" >
    <property name="Height">18</property>
    <property name="Left">428</property>
    <property name="Name">hfError</property>
    <property name="Top">5</property>
    <property name="Width">128</property>
  </object>
  <object class="Label" name="Label10" >
    <property name="Caption">*First Name:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">17</property>
    <property name="Left">22</property>
    <property name="Name">Label10</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">117</property>
    <property name="Width">72</property>
  </object>
  <object class="Edit" name="edContactFname" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">102</property>
    <property name="Name">edContactFname</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">2</property>
    <property name="Top">113</property>
    <property name="Width">260</property>
    <property name="jsOnBlur">edContactFnameJSBlur</property>
  </object>
  <object class="Label" name="Label12" >
    <property name="Caption">Middle Name:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">14</property>
    <property name="Name">Label12</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">157</property>
    <property name="Width">81</property>
  </object>
  <object class="Edit" name="edContactMname" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">102</property>
    <property name="Name">edContactMname</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">3</property>
    <property name="Top">153</property>
    <property name="Width">260</property>
    <property name="jsOnBlur">edContactMnameJSBlur</property>
  </object>
  <object class="Label" name="Label19" >
    <property name="Caption">*Last Name:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">24</property>
    <property name="Name">Label19</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">81</property>
    <property name="Width">74</property>
  </object>
  <object class="Edit" name="edContactLname" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">102</property>
    <property name="Name">edContactLname</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">1</property>
    <property name="Top">77</property>
    <property name="Width">260</property>
    <property name="jsOnBlur">edContactLnameJSBlur</property>
  </object>
  <object class="Label" name="Label20" >
    <property name="Caption">*Designation:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">382</property>
    <property name="Name">Label20</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">369</property>
    <property name="Visible">0</property>
    <property name="Width">80</property>
  </object>
  <object class="Edit" name="edContactDesignation" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">470</property>
    <property name="Name">edContactDesignation</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">365</property>
    <property name="Visible">0</property>
    <property name="Width">260</property>
    <property name="jsOnBlur">edContactDesignationJSBlur</property>
  </object>
  <object class="Label" name="Label21" >
    <property name="Caption">Birthdate:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">38</property>
    <property name="Name">Label21</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">234</property>
    <property name="Width">53</property>
  </object>
  <object class="Label" name="Label23" >
    <property name="Caption">Mobile No:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">39</property>
    <property name="Name">Label23</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">275</property>
    <property name="Width">59</property>
  </object>
  <object class="Edit" name="edMobile" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">102</property>
    <property name="Name">edMobile</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">6</property>
    <property name="Top">271</property>
    <property name="Width">260</property>
  </object>
  <object class="Label" name="Label24" >
    <property name="Caption">*Street:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taRight</property>
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">409</property>
    <property name="Name">Label24</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">121</property>
    <property name="Width">47</property>
  </object>
  <object class="Edit" name="edAddress" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">467</property>
    <property name="Name">edAddress</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">9</property>
    <property name="Top">117</property>
    <property name="Width">260</property>
    <property name="jsOnBlur">edAddressJSBlur</property>
  </object>
  <object class="Label" name="Label25" >
    <property name="Caption">Building:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">408</property>
    <property name="Name">Label25</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">81</property>
    <property name="Width">47</property>
  </object>
  <object class="Edit" name="edBldg" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">467</property>
    <property name="Name">edBldg</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">8</property>
    <property name="Top">77</property>
    <property name="Width">260</property>
  </object>
  <object class="ComboBox" name="cmbRegion" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">275</property>
    <property name="Name">cmbRegion</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">352</property>
    <property name="Visible">0</property>
    <property name="Width">50</property>
    <property name="jsOnChange">cmbRegionJSChange</property>
  </object>
  <object class="Label" name="Label26" >
    <property name="Caption">Region:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">222</property>
    <property name="Name">Label26</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">356</property>
    <property name="Visible">0</property>
    <property name="Width">42</property>
  </object>
  <object class="ComboBox" name="cmbProvince" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">275</property>
    <property name="Name">cmbProvince</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">368</property>
    <property name="Visible">0</property>
    <property name="Width">50</property>
    <property name="jsOnChange">cmbProvinceJSChange</property>
  </object>
  <object class="Label" name="Label27" >
    <property name="Caption">Province:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">215</property>
    <property name="Name">Label27</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">372</property>
    <property name="Visible">0</property>
    <property name="Width">49</property>
  </object>
  <object class="ComboBox" name="cmbMunicipality" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">275</property>
    <property name="Name">cmbMunicipality</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">379</property>
    <property name="Visible">0</property>
    <property name="Width">50</property>
  </object>
  <object class="Label" name="Label28" >
    <property name="Caption">Municipality:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">196</property>
    <property name="Name">Label28</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">381</property>
    <property name="Visible">0</property>
    <property name="Width">68</property>
  </object>
  <object class="Label" name="Label29" >
    <property name="Caption">Fax No:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">558</property>
    <property name="Name">Label29</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">275</property>
    <property name="Width">43</property>
  </object>
  <object class="Edit" name="edFax" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">603</property>
    <property name="Name">edFax</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">15</property>
    <property name="Top">271</property>
    <property name="Width">123</property>
  </object>
  <object class="Label" name="Label30" >
    <property name="Caption">Email:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taRight</property>
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">57</property>
    <property name="Name">Label30</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">312</property>
    <property name="Width">41</property>
  </object>
  <object class="Edit" name="edEmail" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">102</property>
    <property name="Name">edEmail</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">7</property>
    <property name="Top">308</property>
    <property name="Width">260</property>
  </object>
  <object class="DateTimePicker" name="JTBdate" >
    <property name="Caption">JTBdate</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="IfFormat">%Y-%m-%d</property>
    <property name="Left">102</property>
    <property name="Name">JTBdate</property>
    <property name="ParentFont">0</property>
    <property name="ShowsTime">0</property>
    <property name="Top">232</property>
    <property name="Width">260</property>
  </object>
  <object class="Label" name="Label1" >
    <property name="Caption">* = Required Fields</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#DD0000</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">10</property>
    <property name="Name">Label1</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">44</property>
    <property name="Width">115</property>
  </object>
  <object class="Label" name="lblf" >
    <property name="Caption">lblf</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">132</property>
    <property name="Name">lblf</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">98</property>
    <property name="Width">186</property>
  </object>
  <object class="Label" name="lbll" >
    <property name="Caption">lbll</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">134</property>
    <property name="Name">lbll</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">62</property>
    <property name="Width">186</property>
  </object>
  <object class="Label" name="lbld" >
    <property name="Caption">lbld</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">132</property>
    <property name="Name">lbld</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">182</property>
    <property name="Width">186</property>
  </object>
  <object class="Label" name="lble" >
    <property name="Caption">lble</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">100</property>
    <property name="Name">lble</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">297</property>
    <property name="Width">259</property>
  </object>
  <object class="JTJavaScript" name="JSRegionProvince" >
    <property name="Code"><![CDATA[var xmlhttp

function regionProvince()
{
xmlhttp=GetXmlHttpObject();
if (xmlhttp==null)
  {
  alert (&quot;Your browser does not support AJAX!&quot;);
  return;
  }
var region = document.getElementById('cmbRegion').value;
var url=&quot;regionProvince.php&quot;;
url=url+&quot;?region=&quot;+region;
xmlhttp.onreadystatechange=stateChangedMake;
xmlhttp.open(&quot;GET&quot;,url,true);
xmlhttp.send(null);
}


function stateChangedMake()
{
if (xmlhttp.readyState==4)
  {
  var my_array = eval(xmlhttp.responseText);
  var cmbObj = document.getElementById('cmbProvince')
  cmbObj.length = 0;
  
  var row;
  for (row = 0; row &lt; my_array.length; row++)
  {
	var province = my_array[row][0];
	var id = my_array[row][1];
	var x = document.createElement('option');
	
	x.text = province;
	x.value = id;
	try
	{
		cmbObj.add(x,null); // standards compliant
	}
	catch(ex)
	{
	cmbObj.add(x); // IE only
	}
  }
  provinceMunicipality();
  }
}

function GetXmlHttpObject()
{
if (window.XMLHttpRequest)
  {
  return new XMLHttpRequest();
  }
if (window.ActiveXObject)
  {
  return new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
return null;
}]]></property>
    <property name="Height">20</property>
    <property name="Left">230</property>
    <property name="Name">JSRegionProvince</property>
    <property name="Top">25</property>
    <property name="Width">166</property>
  </object>
  <object class="JTJavaScript" name="JSProvinceMunicipality" >
    <property name="Code"><![CDATA[var xmlhttp

function provinceMunicipality()
{
xmlhttp=GetXmlHttpObject();
if (xmlhttp==null)
  {
  alert (&quot;Your browser does not support AJAX!&quot;);
  return;
  }
var province = document.getElementById('cmbProvince').value;
var url=&quot;provinceMunicipality.php&quot;;
url=url+&quot;?province=&quot;+province;
xmlhttp.onreadystatechange=stateChangedProvince;
xmlhttp.open(&quot;GET&quot;,url,true);
xmlhttp.send(null);
}


function stateChangedProvince()
{
if (xmlhttp.readyState==4)
  {
  var my_array = eval(xmlhttp.responseText);
  var cmbObj = document.getElementById('cmbMunicipality');
  cmbObj.length = 0;
  
  var row;
  for (row = 0; row &lt; my_array.length; row++)
  {
	var province = my_array[row][0];
	var id = my_array[row][1];
	var x = document.createElement('option');
	
	x.text = province;
	x.value = id;
	try
	{
		cmbObj.add(x,null); // standards compliant
	}
	catch(ex)
	{
	cmbObj.add(x); // IE only
	}
  }
}
}

function GetXmlHttpObject()
{
if (window.XMLHttpRequest)
  {
  return new XMLHttpRequest();
  }
if (window.ActiveXObject)
  {
  return new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
return null;
}]]></property>
    <property name="Height">20</property>
    <property name="Left">391</property>
    <property name="Name">JSProvinceMunicipality</property>
    <property name="Top">25</property>
    <property name="Width">202</property>
  </object>
  <object class="Label" name="Label22" >
    <property name="Caption">*Phone No:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">537</property>
    <property name="Name">Label22</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">234</property>
    <property name="Width">65</property>
  </object>
  <object class="Edit" name="edPhone" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">603</property>
    <property name="Name">edPhone</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">13</property>
    <property name="Top">230</property>
    <property name="Width">124</property>
    <property name="jsOnBlur">edPhoneJSBlur</property>
  </object>
  <object class="Label" name="lblp" >
    <property name="Caption">lblp</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">530</property>
    <property name="Name">lblp</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">215</property>
    <property name="Width">200</property>
  </object>
  <object class="Label" name="Label2" >
    <property name="Caption">*Area code:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taRight</property>
        <property name="Color">#FFFFFF</property>
        <property name="Size">11</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">377</property>
    <property name="Name">Label2</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">234</property>
    <property name="Width">84</property>
  </object>
  <object class="Edit" name="edArea" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">467</property>
    <property name="Name">edArea</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">12</property>
    <property name="Top">230</property>
    <property name="Width">60</property>
    <property name="jsOnBlur">edAreaJSBlur</property>
  </object>
  <object class="Label" name="lblarea" >
    <property name="Caption">lblarea</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taRight</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">10</property>
    <property name="Left">378</property>
    <property name="Name">lblarea</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">216</property>
    <property name="Width">151</property>
  </object>
  <object class="Label" name="lblJob" >
    <property name="Caption">Job Title:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">17</property>
    <property name="Layer">Employment</property>
    <property name="Left">42</property>
    <property name="Name">lblJob</property>
    <property name="ParentFont">0</property>
    <property name="Top">197</property>
    <property name="Width">52</property>
  </object>
  <object class="ComboBox" name="cmbJob" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Layer">Employment</property>
    <property name="Left">102</property>
    <property name="Name">cmbJob</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">4</property>
    <property name="Top">193</property>
    <property name="Width">240</property>
  </object>
  <object class="Button" name="btnShowJob" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">+</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">19</property>
    <property name="Hint">add job title</property>
    <property name="Left">342</property>
    <property name="Name">btnShowJob</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">5</property>
    <property name="Top">193</property>
    <property name="Width">20</property>
    <property name="jsOnClick">btnShowJobJSClick</property>
  </object>
  <object class="JTJavaScript" name="JSJobTitle2" >
    <property name="Code"><![CDATA[function AjaxJob2(jo,compid)
{ 
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxJob('jobajax.php','cmbJob',compid);
  AjaxJob('jobajax.php','listJob',compid);

  }
  }
  var url='addjobajax.php';
  url=url+&quot;?val=&quot;+jo;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">558</property>
    <property name="Name">JSJobTitle2</property>
    <property name="Top">20</property>
    <property name="Width">180</property>
  </object>
  <object class="JTJavaScript" name="JSJobTitle1" >
    <property name="Code"><![CDATA[function AjaxJob(urlget,elemidtochange,compid)
{
var httpxml;
try
{
	// Firefox, Opera 8.0+, Safari
	httpxml=new XMLHttpRequest();
	}
	catch (e)
	{
	// Internet Explorer
	try
	{
	httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
	}
	catch (e)
	{
	try
	{
	httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
	}
	catch (e)
	{
	alert(&quot;Your browser does not support AJAX!&quot;);
	return false;
	}
	}
	}
	function stateck() 
	{
	if(httpxml.readyState==4)
	{
	var myarray=eval(httpxml.responseText);
	// Before adding new we must remove previously loaded elements
	for(j=document.getElementById(elemidtochange).options.length-1;j&gt;=0;j--)
	{
	document.getElementById(elemidtochange).remove(j);
	}
	for (i=0;i&lt;myarray.length;i++)
	{
	var objDropdown = document.getElementById(elemidtochange);
	var objOption = new Option(myarray[i],myarray[i]);
	objDropdown.options[objDropdown.length] = objOption;
	}
	}
	}
	var url=urlget;
	url=url+&quot;?compider=&quot;+compid;
	httpxml.onreadystatechange=stateck;
	httpxml.open(&quot;GET&quot;,url,true);
	httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">558</property>
    <property name="Name">JSJobTitle1</property>
    <property name="Top">40</property>
    <property name="Width">180</property>
  </object>
  <object class="JTJavaScript" name="JSJobTitle3" >
    <property name="Code"><![CDATA[function AjaxJob3(jo,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxJob('jobajax.php','cmbJob',compid);
  AjaxJob('jobajax.php','listJob',compid);
  }
  }
  var url='deljobajax.php';
  url=url+&quot;?val=&quot;+jo;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">558</property>
    <property name="Name">JSJobTitle3</property>
    <property name="Top">57</property>
    <property name="Width">180</property>
  </object>
  <object class="HiddenField" name="compid" >
    <property name="Height">18</property>
    <property name="Left">424</property>
    <property name="Name">compid</property>
    <property name="Top">44</property>
    <property name="Width">127</property>
  </object>
  <object class="Edit" name="edCity" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">467</property>
    <property name="Name">edCity</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">10</property>
    <property name="Top">157</property>
    <property name="Width">260</property>
    <property name="jsOnBlur">edCityJSBlur</property>
  </object>
  <object class="Label" name="Label4" >
    <property name="Caption">*City:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taRight</property>
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">418</property>
    <property name="Name">Label4</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">161</property>
    <property name="Width">40</property>
  </object>
  <object class="Label" name="Label5" >
    <property name="Caption">Country:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taRight</property>
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">401</property>
    <property name="Name">Label5</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">197</property>
    <property name="Width">57</property>
  </object>
  <object class="ComboBox" name="cmbCountry" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="ItemIndex"></property>
    <property name="Items">a:0:{}</property>
    <property name="Left">466</property>
    <property name="Name">cmbCountry</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">11</property>
    <property name="Top">193</property>
    <property name="Width">259</property>
  </object>
  <object class="Label" name="lblAddress" >
    <property name="Caption">lblAddress</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">465</property>
    <property name="Name">lblAddress</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">102</property>
    <property name="Width">261</property>
  </object>
  <object class="Edit" name="edAreaFax" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">467</property>
    <property name="Name">edAreaFax</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">14</property>
    <property name="Top">271</property>
    <property name="Width">60</property>
    <property name="jsOnBlur">edAreaJSBlur</property>
  </object>
  <object class="Label" name="Label3" >
    <property name="Caption">Area code:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
        <property name="Size">11</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">395</property>
    <property name="Name">Label3</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">275</property>
    <property name="Width">66</property>
  </object>
  <object class="Label" name="lblCity" >
    <property name="Caption">lblCity</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">466</property>
    <property name="Name">lblCity</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">143</property>
    <property name="Width">261</property>
  </object>
  <object class="JTSiteTheme" name="JTSiteTheme1" >
        <property name="Left">586</property>
        <property name="Top">11</property>
    <property name="Name">JTSiteTheme1</property>
    <property name="Theme">black</property>
  </object>
</object>
?>
